home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / misc / gms_dev.lha / GMSDev / Includes / pragmas / dpkernel_extras.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-22  |  1.0 KB  |  39 lines

  1. #ifndef PRAGMAS_DPKERNEL_EXTRAS_H
  2. #define PRAGMAS_DPKERNEL_EXTRAS_H 1
  3.  
  4. #ifdef __STORM__
  5.  #pragma tagcall(DPKBase,0x05A,InitTags(a1,a0))
  6.  #pragma amicall(DPKBase,0x3B4,InitTagList(a1,a0))
  7. #endif
  8.  
  9. #ifdef __SASC_60
  10.  #pragma tagcall DPKBase InitTags 05A 8902
  11. #endif
  12.  
  13. #if defined(_DCC) || defined(__SASC)
  14.  #pragma libcall DPKBase InitTagList         05A 8902
  15.  #pragma libcall DPKBase AddSysObjectTagList 156 891004
  16.  #pragma libcall DPKBase DPrintFTagList      10E DC02
  17. #endif
  18.  
  19. #ifdef _DCC
  20.  #ifdef _DCCTAGS
  21.  
  22.   APTR InitTags(APTR container, unsigned long tag1, ...) {
  23.     return(InitTagList(container, (struct TagItem *)&tag1));
  24.   }
  25.  
  26.   APTR AddSysObjectTags(WORD ClassID, WORD ObjectID, BYTE *Name, unsigned long tag1, ...) {
  27.     return(AddSysObjectTagList(ClassID, ObjectID, Name, (struct TagItem *)&tag1));
  28.   }
  29.  
  30.   void DPrintFTagList(BYTE *Header, struct TagItem *);
  31.  
  32.   void DPrintF(BYTE *Header, const BYTE *tag1, ...) {
  33.     DPrintFTagList(Header, (struct TagItem *)&tag1);
  34.   }
  35.  #endif
  36. #endif
  37.  
  38. #endif /* PRAGMAS_DPKERNEL_EXTRAS_H */
  39.